package com.bp.scoringgun.entity;

import lombok.Data;

@Data
public class UserContributionScore {
    private Long userId;
    private Long repoId;
    private double codeScore;
    private double maintenanceScore;
    private double activityScore;
    private double totalScore;

    public UserContributionScore(Long userId, Long repoId, double codeScore, double maintenanceScore, double activityScore) {
        this.userId = userId;
        this.repoId = repoId;
        this.codeScore = codeScore;
        this.maintenanceScore = maintenanceScore;
        this.activityScore = activityScore;
    }
}
